/**
  * @Author: songgh
  * @Date: 2021-09-20 14:41:08
  * @LastEditors: songgh
  * @LastEditTime: 2021-09-20 15:41:08
  * @Description: typescript & vue3 示例
  */
import { defineComponent, ref } from 'vue';

export default defineComponent({
    name: "HelloWorld",
    setup() {
        const checked = ref<boolean>(false);
        return {
            checked,
        };
    },
    render() {
        return (
            <div>
                <a-switch v-model:checked={this.checked} />
            </div>
        )
    }
})